package remato.common.domain.impl.base;

import remato.common.domain.helpers.Nameable;

public class DomainName extends DomainBase implements Nameable {
	private String name;
	private String description;
	
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Override
	public String toString() {
		if (null != getName()) {
			return this.getName() + getDbId() != null ? " [" + getDbId() + "]" : "";
		}
		return "";
	}
	
}

